CanalAPI
Developer Guide

Models

Find exact model IDs, select by task and protocol, and verify the capabilities you need.

Listing models

Use the model page for current availability, capabilities, and prices. Availability and prices change; a name appearing in a tutorial is not a long-term availability guarantee.

GET https://api.canalapi.com/v1/models is a public, machine-readable catalog. It does not validate your key, credit, or actual inference, and does not guarantee complete capability or pricing fields. Refer to the model page and dashboard for details.

Selecting a model

Copy the full ID into the request's model field. This is a structural example; replace YOUR_MODEL_ID before sending it:

{
  "model": "YOUR_MODEL_ID",
  "messages": [{"role": "user", "content": "Reply only OK"}]
}

If your key restricts models, ensure the selected ID is allowed. Do not guess version suffixes or aliases from a vendor name.

Model families

CanalAPI aggregates text, reasoning, and multimodal models from different providers. Versions within one family may differ in context length, tool support, inputs, and price. A provider or family name helps filter options but does not establish a specific model's capabilities.

Choosing the right model

TaskConfirm firstSuggested check
Claude CodeAnthropic Messages, streaming, toolsShort chat, then a read-only file task
CodexResponses, streaming, tools, client model compatibilityMinimal Responses call, then the CLI
Classification, summaries, supportLanguages, quality, latency, priceCompare a small set of your own examples
Image understandingImage inputs and format limitsA small, nonsensitive image
Image generation, audio, embeddingsDedicated endpoint and parametersDo not test only Chat Completions
Long textInput/output limits and context costGrow from small examples and reserve output space

Protocol compatibility

CanalAPI exposes OpenAI Chat Completions / Responses, Anthropic Messages, and native Gemini endpoints. An endpoint existing in the gateway does not mean every model supports it. Parameters, streaming events, tools, structured output, and context support can vary by model and channel.

Choose a protocol from the endpoint overview, then verify each required capability with the same model. See the API quickstart, Claude Code, and Codex guides.

Compatibility notes

  • A successful text request proves that request, not streaming, vision, or tools.
  • Caching, reasoning, images, audio, and tools may use different billing units; read the complete pricing details.
  • Provider-specific parameters may not transfer across protocols. Do not rely on undocumented passthrough behavior.
  • Record the model ID, protocol, and key parameters in production. Rerun the same evaluation before switching models. Use troubleshooting for failures.

On this page