77 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Cheetah
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Cheetah
		
	
	
	
	
	
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
 | 
						|
# see https://github.com/sigoden/aichat/blob/main/models.yaml
 | 
						|
 | 
						|
model: openrouter:anthropic/claude-sonnet-4
 | 
						|
function_calling: false
 | 
						|
 | 
						|
clients:
 | 
						|
 | 
						|
- type: openai-compatible
 | 
						|
  name: openrouter
 | 
						|
  api_base: https://openrouter.ai/api/v1
 | 
						|
  api_key: {{ .user.AI_OPENROUTER_KEY }}
 | 
						|
  models:
 | 
						|
 | 
						|
    - name: anthropic/claude-opus-4
 | 
						|
      max_input_tokens: 200000
 | 
						|
      max_output_tokens: 20000
 | 
						|
      require_max_tokens: true
 | 
						|
      input_price: 15
 | 
						|
      output_price: 75
 | 
						|
      supports_vision: true
 | 
						|
      supports_function_calling: true
 | 
						|
      patch:
 | 
						|
        body:
 | 
						|
          reasoning:
 | 
						|
            effort: high
 | 
						|
 | 
						|
    - name: anthropic/claude-sonnet-4
 | 
						|
      max_input_tokens: 200000
 | 
						|
      max_output_tokens: 20000
 | 
						|
      require_max_tokens: true
 | 
						|
      input_price: 3
 | 
						|
      output_price: 15
 | 
						|
      supports_vision: true
 | 
						|
      supports_function_calling: true
 | 
						|
      patch:
 | 
						|
        body:
 | 
						|
          reasoning:
 | 
						|
            effort: high
 | 
						|
 | 
						|
    - name: deepseek/deepseek-chat-v3.1
 | 
						|
      max_input_tokens: 163840
 | 
						|
      input_price: 0.20
 | 
						|
      output_price: 0.80
 | 
						|
      patch:
 | 
						|
        body:
 | 
						|
          reasoning:
 | 
						|
            effort: high
 | 
						|
 | 
						|
    - name: deepseek/deepseek-chat-v3.1:free
 | 
						|
      max_input_tokens: 163840
 | 
						|
      input_price: 0
 | 
						|
      output_price: 0
 | 
						|
      patch:
 | 
						|
        body:
 | 
						|
          reasoning:
 | 
						|
            effort: high
 | 
						|
 | 
						|
 | 
						|
    - name: perplexity/sonar-pro
 | 
						|
      max_input_tokens: 200000
 | 
						|
      input_price: 3
 | 
						|
      output_price: 15
 | 
						|
 | 
						|
    - name: perplexity/sonar
 | 
						|
      max_input_tokens: 127072
 | 
						|
      input_price: 1
 | 
						|
      output_price: 1
 | 
						|
 | 
						|
    - name: openai/gpt-4.1
 | 
						|
      max_input_tokens: 1047576
 | 
						|
      max_output_tokens: 32768
 | 
						|
      input_price: 2
 | 
						|
      output_price: 8
 | 
						|
      supports_vision: true
 | 
						|
      supports_function_calling: true
 |