Models / Pearl AI
Reasoning
Chat
LLM

Gemma-4-31B-it-Pearl

Reasoning with thinking mode at 25% discounted pricing

About model

Gemma 4 31B-it-Pearl is Pearl Research Labs' instruction-tuned checkpoint of Google's Gemma 4 31B, optimized for the Pearl Network's Proof of Useful Work protocol. It delivers capabilities similar tothe base Gemma 4 31B — text input, 32K context, function calling, JSON mode — at a 25%+ discount through Together AI's exclusive Pearl Network integration.

Learn more in our announcement blog.

Discounted Pricing

25%

Powered by Pearl's Proof of Useful Work protocol

Context Window

32K

With hybrid attention for long-context optimization

AIME 2026

89.20%

Mathematical reasoning without tools

Model key capabilities
  • 25% Discounted Pricing: Powered by Pearl's Proof of Useful Work
  • Configurable Thinking: Built-in reasoning mode for step-by-step problem solving with 85.35% GPQA Diamond
  • Native Function Calling: Structured tool use with JSON mode for agentic workflows
Performance benchmarks

Model

FrontierMath Tier 4

GPQA Diamond

HLE

SciCode

GDPval-AA

Terminal-Bench 2.1

Agent Arena

FrontierCode

DeepSWE

85.35%

19.50%

Related open-source models

Competitor closed-source models

Claude Fable 5

87.8%

92.6%

53%

60%

62%

85%

53.5%

70%

Claude Opus 5

73.2%

93.2%

53%

56%

68%

89%

+16.4pp

53.4%

74%

GPT-5.6 Sol

82.9%

94.1%

47%

56%

61%

88%

47.5%

73%

Grok 4.5

24.4%

93.1%

40%

54%

51%

82%

+4.2pp

42.4%

54%

GPT-5.6 Luna

61.0%

91.1%

37%

53%

54%

81%

39.8%

67%

  • API usage

    • cURL
    • Python
    • Typescript

    Endpoint:

    pearl-ai/gemma-4-31b-it

    curl -X POST "https://api.together.xyz/v1/chat/completions" \
      -H "Authorization: Bearer $TOGETHER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "pearl-ai/gemma-4-31b-it",
        "messages": [
          {
            "role": "user",
            "content": "What are some fun things to do in New York?"
          }
        ]
    }'
    
    from together import Together
    
    client = Together()
    
    response = client.chat.completions.create(
      model="pearl-ai/gemma-4-31b-it",
      messages=[
        {
          "role": "user",
          "content": "What are some fun things to do in New York?"
        }
      ]
    )
    print(response.choices[0].message.content)
    
    import Together from 'together-ai';
    const together = new Together();
    
    const completion = await together.chat.completions.create({
      model: 'pearl-ai/gemma-4-31b-it',
      messages: [
        {
          role: 'user',
          content: 'What are some fun things to do in New York?'
         }
      ],
    });
    
    console.log(completion.choices[0].message.content);
    
  • Model card

    Architecture Overview:
    • 30.7B parameter dense transformer with hybrid attention (interleaved local sliding window + full global attention)
    • 32K token context window with proportional RoPE for long-context optimization
    • Configurable thinking mode for step-by-step reasoning before generating answers
    • Native function calling and structured JSON output for agentic workflows
    • INT8 quantization

    Pearl Proof of Useful Work:
    • This endpoint runs on Pearl's Proof of Useful Work (PoUW) protocol, which extracts cryptographic mining proofs as a side effect of standard AI inference
    • Model quality and throughput are preserved — the Pearl kernel operates at the matrix multiplication level without affecting model outputs
    • Mining rewards flow back as a direct subsidy, enabling 25% discounted pricing
    • Zero-knowledge proofs ensure no model weights or user data are exposed

  • Prompting

    Together AI API Access:
    • Access Pearl Gemma 4 31B via Together AI APIs using the endpoint pearl-ai/gemma-4-31b-it
    • Authenticate using your Together AI API key in request headers
    • Supports thinking mode, function calling, and JSON mode
    • Available on Together AI serverless infrastructure

  • Applications & use cases

    Reasoning & Coding:
    • Mathematical reasoning with configurable thinking mode
    • Code generation, completion, and correction across multiple languages

    Agentic Workflows:
    • Native function calling with structured JSON output for tool orchestration
    • System prompt support for structured multi-turn conversations
    • 32K context for processing large codebases and documentation

Related models
  • Model provider
    Black stylized letter P with a semicircle shape on the left side on white background.
    Pearl AI
  • Type
    Reasoning
    Chat
    LLM
  • Main use cases
    Reasoning
  • Features
    Function Calling
    JSON Mode
  • Deployment
    Serverless
  • Parameters
    31B
  • Context length
    32K
  • Input price

    $0.28 / 1M tokens

  • Output price

    $0.86 / 1M tokens

  • Input modalities
    Text
  • Output modalities
    Text
  • Quantization level
    INT8
  • Category
    Chat