Model discovery and capability limits
Select actual catalogue IDs and read endpoint-specific supported, unsupported or unknown capabilities.
Also available as Markdown · all agent guides in one file
Key points
- Use
idverbatim as the request model, and choose a model whosesupported_endpointsincludes your endpoint. - Read the
capabilitiesentry for your endpoint and rely on a feature only when its value issupported. Never treatunknownas supported. - A listed or access-allowed model is not a promise that a request succeeds.
GET https://api.aetherapi.dev/v1/modelsreturns an OpenAI-style object withdataentries.- Use
idverbatim as the request model. An ID may include slashes: preserve it as a JSON string. supported_endpointslists public routes for that ID;endpointis its primary route.- Each entry also has
capabilities_version: 1and acapabilitiesobject keyed by public request endpoint.
There is no model-wide feature flag: the same model can behave differently on /v1/chat/completions, /v1/responses and /v1/messages.
# Requires jq. Discovery does not generate text or consume credits.
curl --fail-with-body --silent --show-error https://api.aetherapi.dev/v1/models \
| jq --arg endpoint /v1/chat/completions '.data[]
| select(.supported_endpoints | index($endpoint))
| {id, endpoint: $endpoint, capabilities: .capabilities[$endpoint]}'Read capabilities as supported, unsupported or unknown
Feature values are the strings supported, unsupported or unknown: tool_calling (client-executed function tools, not hosted tools), parallel_tool_calls, structured_outputs.json_schema (schema-constrained output; no JSON-object mode is implied), modalities.input and modalities.output for text, image, audio, video, file and embedding, and reasoning.supported.
| Value | Meaning |
|---|---|
supported | Every provider the route may fall back to confirms the feature and Aether preserves it. |
unsupported | At least one possible fallback lacks it or Aether removes it. |
unknown | Support is not established. A missing capabilities object, endpoint entry or field is unknown. |
Unknown is not supported
Never treat unknown as supported. Many routes report unknown until operators add verified per-provider declarations.- Do not reuse one endpoint's values for another endpoint.
reasoning.optionslists guaranteed common request values (nullmeans unknown).max_output_tokensis a metadata limit ornullwhen unknown;output_token_limitis Aether's own request ceiling ornull.contextis display metadata, not a guaranteed token limit.- Prices and models change; refresh discovery when a model is missing or a route changes.
Check access with your key
Send your regular API key to GET /v1/models and each endpoint capability also contains access: {allowed, reason}. reason is null when allowed, otherwise model_not_allowed, model_tier_restricted or route_unavailable.
accesscovers model policy and route eligibility only, not balance, budget, quota or capacity.- An invalid key returns an authentication error instead of the public catalogue.
# Chat models with supported client tool calls that this key may use.
curl --fail-with-body --silent --show-error https://api.aetherapi.dev/v1/models \
-H "Authorization: Bearer $AETHER_API_KEY" \
| jq --arg endpoint /v1/chat/completions '[.data[]
| select(.capabilities[$endpoint].tool_calling == "supported")
| select(.capabilities[$endpoint].access.allowed == true)
| .id]'What discovery does not prove
- A listed or access-allowed model is not a promise that a request succeeds. Budget, quota, wallet limits and provider availability are checked per request.
- For regular API keys the general JSON proxy forwards request fields such as
tools,tool_choiceandresponse_formatto the selected provider. - Forwarding is not support: rely on a feature only when its capability is supported for that exact endpoint, and still handle failures.
- A failed feature probe must not trigger silent selection of an unrelated model.
wrong_endpoint(400) can includeerror.endpoints; choose one of those routes only if your client supports its protocol.model_not_found(404) calls for refreshing the catalogue and correcting the ID.- The OpenAPI document describes request and response shapes; the capabilities object is the per-model source.