> ## Documentation Index
> Fetch the complete documentation index at: https://docs.electronhub.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Routing Mix

> Which models Auto picks by difficulty, with task shares and a simulation for new work. `scope=global` needs no API key.



## OpenAPI

````yaml GET /router/stats/mix
openapi: 3.0.1
info:
  title: Electron Hub API
  description: >-
    Unified API platform integrating 200+ AI models for chat, image generation,
    speech-to-text, embeddings, and more.
  version: 1.0.0
  contact:
    name: Electron Hub Support
    email: support@electronhub.ai
    url: https://discord.com/invite/electronhub
  license:
    name: MIT
servers:
  - url: https://api.electronhub.ai/v1
    description: Production API v1
security:
  - bearerAuth: []
paths:
  /router/stats/mix:
    get:
      tags:
        - Router
      summary: Routing mix
      description: >-
        Which models Auto picks by difficulty, with task shares and a simulation
        for new work. `scope=global` needs no API key.
      operationId: getRouterMixStats
      parameters:
        - name: scope
          in: query
          schema:
            type: string
            enum:
              - global
              - me
            default: global
        - name: task
          in: query
          schema:
            type: string
            default: all
          description: >-
            `all`, `code_changes`, `coding_questions`, `general`, a task, or a
            category.
        - name: window
          in: query
          schema:
            type: string
            enum:
              - 24h
              - 7d
              - 30d
            default: 7d
        - name: surface
          in: query
          schema:
            type: string
            enum:
              - agentic
              - non_agentic
              - all
            default: all
        - name: tier
          in: query
          schema:
            type: string
            enum:
              - all
              - low
              - medium
              - high
              - xhigh
              - max
            default: all
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
              example:
                difficulty_axis:
                  - trivial
                  - easy
                  - medium
                  - hard
                  - extreme
                series:
                  - model: Other
                    effort: null
                    shares:
                      - 100
                      - 100
                      - 0
                      - 0
                      - 0
                average:
                  - model: Other
                    effort: null
                    pct: 100
                task_shares:
                  code_changes: 25
                  unknown: 50
                  factuality: 25
                simulation:
                  label: simulation
                  tier: medium
                  by_difficulty:
                    - difficulty: trivial
                      picks:
                        - model: deepseek-v4-flash
                          effort: null
                          share: 62.5
                        - model: muse-spark-1.3-contributor
                          effort: null
                          share: 29.2
                        - model: glm-5.3-flash
                          effort: low
                          share: 8.3
                    - difficulty: easy
                      picks:
                        - model: deepseek-v4-flash
                          effort: null
                          share: 62.5
                        - model: muse-spark-1.3-contributor
                          effort: null
                          share: 29.2
                        - model: glm-5.3-flash
                          effort: low
                          share: 8.3
                    - difficulty: medium
                      picks:
                        - model: gemma-4-31b-it
                          effort: null
                          share: 25
                        - model: deepseek-v4.1-flash
                          effort: null
                          share: 12.5
                        - model: qwen3.6-plus
                          effort: null
                          share: 12.5
                        - model: deepseek-v4-flash
                          effort: null
                          share: 12.5
                        - model: qwen3.7-max
                          effort: null
                          share: 12.5
                        - model: kimi-k2.6
                          effort: null
                          share: 12.5
                        - model: qwen3.6-35b-a3b
                          effort: null
                          share: 12.5
                    - difficulty: hard
                      picks:
                        - model: qwen3.7-plus
                          effort: null
                          share: 37.5
                        - model: qwen3.7-max
                          effort: null
                          share: 25
                        - model: claude-opus-5-5
                          effort: null
                          share: 25
                        - model: qwen3.6-27b
                          effort: null
                          share: 8.3
                        - model: qwen3.5-27b-anko
                          effort: null
                          share: 4.2
                    - difficulty: extreme
                      picks:
                        - model: qwen3.7-max
                          effort: null
                          share: 50
                        - model: gpt-6-astra
                          effort: null
                          share: 37.5
                        - model: qwen3.6-plus
                          effort: null
                          share: 12.5
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: Body must be an object.
                  type: invalid_request_error
                  param: null
                  code: 400
      security:
        - {}
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Enter your API key (starts with 'ek-')

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.