OpenAI-compatible clients
https://model.misakacloud.net/v1Includes /v1. Send Authorization: Bearer <key>.
An endpoint for your next agent
Connect OpenAI and Anthropic-compatible clients to a single HTTPS gateway. Familiar protocols. Streaming responses. No new workflow.
A client API key is required for every API request.
Set the base URL for your SDK. Use a gateway client key supplied by the service operator, not an upstream provider key.
OpenAI-compatible clients
https://model.misakacloud.net/v1Includes /v1. Send Authorization: Bearer <key>.
Anthropic SDK clients
https://model.misakacloud.netThe SDK adds /v1/messages. Send x-api-key and anthropic-version.
Keys belong in headers. Set MODEL_API_KEY in your environment before running an example. Keys in URL query parameters are rejected. This page never asks for, stores, or sends your API key.
Five published routes. Choose a model returned by the authenticated models endpoint; model support and availability depend on the selected provider.
/v1/modelsDiscover available model IDs/v1/chat/completionsOpenAI Chat Completions/v1/responsesOpenAI Responses, HTTP / SSE/v1/messagesAnthropic Messages/v1/messages/count_tokensAnthropic token countingPaths and methods are exact. Alternate aliases, trailing slashes, WebSocket routes, and administrative interfaces are not published here.
A predictable interface for long-running agents. These are gateway limits, not a replacement for each model's context window or provider constraints.
The hard body ceiling is 83,886,080 bytes, including JSON and base64 attachments. It applies to both fixed-length and chunked uploads. Provider limits can be smaller.
Set stream: true for SSE. Use curl -N to see events as they arrive. The request-size ceiling does not cap the response length.
POST requests require a JSON content type. Compressed bodies are rejected. Keep credentials in authentication headers; never put them in the URL.
Check the JSON body and the model's requirements. Remove authentication parameters such as key, api_key, and token from the URL; use an authentication header instead.
Use the gateway key supplied by the service operator. OpenAI clients send a Bearer token; Anthropic clients normally send x-api-key. An upstream provider key is not a substitute.
Use an exact path and method from the reference above. Management pages, OAuth flows, upload APIs, realtime interfaces, and unspecified aliases are intentionally unavailable on this hostname.
Reduce accumulated history, tool results, or inline attachments. Base64 increases binary size by approximately one-third. The ceiling covers the entire serialized request, not just the newest message.
Send application/json, optionally with a charset parameter, and an uncompressed request body. Do not use multipart uploads or gzip-compressed JSON on these routes.