Model names
Every request names its model as provider/model; this page explains the rule, the endpoint each provider needs, and how to find valid names.
The rule
Section titled “The rule”The part before the first slash is the provider’s slug. Everything after it is the provider’s own model ID, sent upstream unchanged:
deepseek/deepseek-flashanthropic/claude-sonnet-5-5openai/gpt-5.4-minigoogle-ai-studio/gemini-3.6-flashtypesafe/jev-1.13.0openrouter/openai/gpt-5The last example goes to OpenRouter as openai/gpt-5. Model IDs are the provider’s, not OpenPike’s, so they follow each provider’s naming: Anthropic uses dashes in version numbers (claude-sonnet-4-5), OpenAI uses dots (gpt-5.4).
Names that start with openpike/ are not providers: they are aliases your workspace defines.
Each endpoint speaks one format
Section titled “Each endpoint speaks one format”OpenPike passes requests through without translating between formats, so a model must be called on the endpoint its provider speaks:
| Endpoint | Format | Providers |
|---|---|---|
/v1/chat/completions |
OpenAI chat completions | OpenAI, Google AI Studio, DeepSeek, OpenRouter and the other OpenAI-compatible providers |
/v1/messages |
Anthropic messages | Anthropic, and DeepSeek through its Anthropic-compatible endpoint |
/v1/systemone |
TypeSafe System One | TypeSafe, OpenRouter |
Calling a model on the wrong endpoint, for example an Anthropic model on /v1/chat/completions, returns 400 unsupported_format. The provider list shows the endpoints of every provider.
Errors
Section titled “Errors”| Error | Cause |
|---|---|
400 invalid_model |
Not in provider/model form, an unknown provider slug, or an unknown alias |
400 unsupported_format |
The provider does not serve this endpoint’s format |
403 provider_disabled |
The provider is in the catalog but not enabled yet |
424 missing_provider_key |
The workspace has no key for that provider |
An unknown model ID with a known provider reaches the provider, which returns its own error (often a 404), passed through as upstream_error.
List your models
Section titled “List your models”GET /v1/models lists the models of every provider your workspace has a key for, already prefixed with the provider slug, in OpenAI’s list format:
curl https://api.openpike.dev/v1/models -H "Authorization: Bearer $OPENPIKE_API_KEY"curl.exe https://api.openpike.dev/v1/models -H "Authorization: Bearer $env:OPENPIKE_API_KEY"OpenPike builds the list from each provider’s own models endpoint and caches it for an hour. See GET /v1/models.