claude-instant-1.2
Anthropic logo

Claude Instant 1.2

claude-instant-1.2
Anthropic

Pricing

  • Input Tokens: $0.880 /M tokens
  • Output Tokens: $3.960 /M tokens

Input Modalities

    Try this model

    Python
    import os
    from openai import OpenAI
    
    client = OpenAI(
        api_key=os.environ["AIHUBMIX_API_KEY"],
        base_url="https://aihubmix.com/v1",
    )
    
    response = client.chat.completions.create(
        model="claude-instant-1.2",
        messages=[
          {
            "role": "user",
            "content": "Hello, how are you?"
          }
        ],
        max_tokens=1024,
        stream=False,
    )
    
    print(response.choices[0].message.content)

    Frequently asked questions

    How much does claude-instant-1.2 cost?

    On AIHubMix, claude-instant-1.2 costs $0.88 per million input tokens and $3.96 per million output tokens.