- glm/glm-5.3
glm/glm-5.3
1M context · $0.8400 / M input tokens · $2.6400 / M output tokens
GLM 5.3 is the flagship GLM model route on OurToken for developers evaluating hosted API access, frontier reasoning, coding agents, long-context tasks, pricing, and production assistant workloads.
Historical uptime data is collected over time. Current status reflects the latest health check.
Pricing
Pay-per-use
No upfront costs, pay only for what you use
API Usage
API Access Guide
Code examples
Use the OurToken API endpoint for this model. The examples below use direct HTTP requests and the recommended endpoint for the model family.
curl https://api.ourtoken.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-5.3",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}'Chat Completions API Reference
Create a chat response with the OpenAI Chat Completions-compatible endpoint. Use https://api.ourtoken.ai/v1 as the SDK Base URL and POST /chat/completions as the endpoint.
Authorization
| Content-Type | application/json |
| Authorization | Bearer YOUR_API_KEY |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Model ID to call. |
| messages | array<object> | Required | Conversation messages sent to the model. |
| max_tokens | integer | Optional | Maximum number of output tokens. |
| temperature | number | Optional | Sampling temperature. |
| top_p | number | Optional | Nucleus sampling parameter. |
| stream | boolean | Optional | Whether to return a streaming response. |
| stream_options | object | Optional | Additional options for streaming responses. |
| tools | array<object> | Optional | Tools available to the model. |
| tool_choice | string | object | Optional | Controls how the model selects tools. |
| response_format | object | Optional | Controls structured output, such as JSON object responses. |
Response Body
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Unique chat completion identifier. |
| object | "chat.completion" | Required | Object type returned by the Chat Completions API. |
| created | integer | Required | Unix timestamp when the response was created. |
| model | string | Required | Model that produced the response. |
| choices | array<object> | Required | Candidate responses returned by the model. |
| choices[].message.role | string | Required | Role of the returned chat message. |
| choices[].message.content | string | Optional | Text content in the returned chat message. |
| choices[].finish_reason | string | Optional | Reason generation stopped. |
| usage | object | Optional | Token usage information for the chat completion. |
| usage.prompt_tokens | integer | Optional | Input token count. |
| usage.completion_tokens | integer | Optional | Output token count. |
| usage.total_tokens | integer | Optional | Total token count. |
| usage.prompt_tokens_details | object | Optional | Breakdown of input token usage. |
| usage.prompt_tokens_details.cached_tokens | integer | Optional | Tokens served from cache. |
Model Introduction
GLM glm-5.3
GLM 5.3 is the flagship GLM model route on OurToken for developers evaluating hosted API access, frontier reasoning, coding agents, long-context tasks, pricing, and production assistant workloads.
GLM 5.3 is Z.ai's flagship model line, positioned for frontier reasoning, coding, and long-horizon agent work with a genuinely usable 1M-token context according to supplied launch material. Use glm 5.3 api through OurToken when you want one endpoint for model testing, pricing review, API keys, usage logs, and production integration.
Why It Looks Great
- 60% of the official GLM 5.3 reference price for input, output, and cache read tokens.
- OpenAI-compatible API setup through the same OurToken endpoint used by other supported models.
- Useful for evaluating flagship GLM reasoning, coding agents, long-context sessions, and production assistant workloads.
- Supplied launch material mentions a 1M-token context and always-on thinking with reasoning effort control.
- Dashboard logs and usage visibility help teams compare request cost after launch.
Key Features
- Model ID: glm-5.3
- Input price: $0.8400 per 1M tokens on OurToken
- Output price: $2.6400 per 1M tokens on OurToken
- Cache read price: $0.1560 per 1M tokens on OurToken
- Cache write price: $0 per 1M tokens on OurToken
- Provider: GLM
Specifications
glm 5.3 api Features for Developers
Use glm 5.3 api for unified GLM access, glm 5.3 pricing visibility, flagship reasoning evaluation, long-context planning, and production workflow testing.
Unified Access
Call glm 5.3 api through the OurToken unified endpoint instead of wiring a separate GLM provider integration. Developers can create one API key, use glm-5.3 as the model ID, and keep OpenAI-compatible request patterns across testing and production.
Pricing Visibility
Review glm 5.3 pricing before routing traffic. OurToken lists $0.8400 input, $2.6400 output, and $0.1560 cache read per 1M tokens, with cache write listed at $0 for teams estimating prompt and agent workload costs.
Flagship Reasoning
Evaluate GLM 5.3 model behavior on reasoning-heavy prompts, coding agents, tool-use loops, and planning-heavy development tasks. The model always runs in thinking mode, with the reasoning_effort parameter controlling depth.
Long-Context Work
Use the 1M-token context window for repository-scale analysis, multi-file code reviews, and long-horizon agent sessions without splitting work across multiple requests.
Coding Workflows
Test GLM 5.3 on repository tasks, coding-plan sessions, and OpenCode-style development prompts. Supplied launch material positions the model for long-horizon coding, but teams should confirm quality with their own acceptance tests.
Provider Comparison
Compare hosted OurToken access with searches such as glm 5.3 openrouter when evaluating provider choice. OurToken focuses on API keys, usage logs, pricing visibility, and a unified endpoint rather than separate provider-specific setup.
How to Use glm 5.3 api on OurToken
Create an API key, copy glm-5.3, compare glm 5.3 pricing, call the unified endpoint, and test coding workflows.
Create API Key
Create an OurToken API key from the dashboard and store it in a secure server-side environment variable. This gives your backend access to glm 5.3 api without exposing credentials in browser code, notebooks, or public repositories.
01Copy Model ID
Use glm-5.3 as the model value in your request body. Keeping the exact GLM 5.3 model ID in configuration helps developers avoid naming mistakes when comparing local tests, staging traffic, and production routes.
02Call Endpoint
Send chat completion requests to the OurToken unified API endpoint with your API key, model ID, and prompt payload. Existing OpenAI-compatible request patterns can usually be reused after changing the base URL, credential, and model value.
03Compare Pricing
Compare glm 5.3 pricing before scaling traffic: OurToken lists $0.8400 input, $2.6400 output, and $0.1560 cache read per 1M tokens. Cache write is listed at $0, so separate cached prompts from normal input and output.
04Test Coding
Run your own glm 5.3 coding plan with repository tasks, one-shot application builds, OpenCode-style agent sessions, and regression prompts. Public anecdotes can inspire test cases, but production routing should depend on your latency, quality, and cost data.
05Monitor Usage
After launch, review request counts, input tokens, output tokens, cache read tokens, and spend in history logs. This helps teams compare glm 5.3 model performance against actual traffic rather than relying only on benchmark posts or provider listings.
06glm 5.3 api FAQ
Answers about glm 5.3 api access, glm-5.3 model ID, pricing, thinking mode, coding workflows, and provider comparisons.