Developer Dashboard

New Models Added: GPT-5.6 Family and Grok 4.5

Date: 2026-07-10 / (1405-04-19)

Summary

AvalAI adds OpenAI's GPT-5.6 Sol, Terra, and Luna models and xAI's Grok 4.5 flagship model. These models expand the platform's options for agentic coding, long-context reasoning, knowledge work, and cost-tiered production routing across Chat Completions, Responses, and Messages-compatible workflows where supported.


Details

OpenAI GPT-5.6 Family

OpenAI's GPT-5.6 family is now available in three tiers:

  • gpt-5.6-sol: highest-capability GPT-5.6 model for difficult coding, expert analysis, tool-heavy workflows, and scientific reasoning.
  • gpt-5.6-terra: balanced model for everyday production reasoning, agent workflows, and professional knowledge work.
  • gpt-5.6-luna: cost-efficient model for high-volume reasoning, support, summarization, and document workflows.

Supported endpoints: v1/chat/completions, v1/responses, v1/messages

ModelInputCached InputOutputBest fit
gpt-5.6-sol$5.00/1M tokens$0.50/1M tokens$30.00/1M tokensHighest-capability reasoning and agentic coding
gpt-5.6-terra$2.50/1M tokens$0.25/1M tokens$15.00/1M tokensBalanced production workflows
gpt-5.6-luna$1.00/1M tokens$0.10/1M tokens$6.00/1M tokensHigh-volume, cost-efficient tasks

xAI Grok 4.5

grok-4.5 is xAI's new flagship for coding, agentic tasks, and knowledge work. It is suitable for software-engineering agents, long-running tool workflows, technical analysis, and Office-style document tasks.

Supported endpoints: v1/chat/completions, v1/responses (partial support)

ModelInputCached InputOutputContext-aware pricing above 200K
grok-4.5$2.00/1M tokens$0.50/1M tokens$6.00/1M tokensInput $4.00, cached input $1.00, output $12.50 per 1M tokens

API Request/Response Examples

GPT-5.6 Sol request

bash
curl https://api.avalai.ir/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AVALAI_API_KEY" \
  -d '{
    "model": "gpt-5.6-sol",
    "messages": [
      {
        "role": "user",
        "content": "Review this migration plan and list the top production risks."
      }
    ]
  }'

Grok 4.5 request

bash
curl https://api.avalai.ir/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AVALAI_API_KEY" \
  -d '{
    "model": "grok-4.5",
    "messages": [
      {
        "role": "user",
        "content": "Find and fix the bug, then explain it: function median(a){a.sort();return a[a.length/2]}"
      }
    ]
  }'

Example response

json
{
  "id": "chatcmpl-example",
  "created": 1783708400,
  "model": "gpt-5.6-sol",
  "object": "chat.completion",
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Here are the highest-risk assumptions and recommended mitigations..."
      }
    }
  ],
  "usage": {
    "prompt_tokens": 24,
    "completion_tokens": 118,
    "total_tokens": 142
  },
  "estimated_cost": {
    "unit": "0.0036600000",
    "irt": 419.44,
    "exchange_rate": 114600
  }
}