feat: update to June 2026 models (Claude Sonnet 4.6, Gemini 3.5 Flash), add glossary button, and implement cost factor quota & vision fallback
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m4s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m4s
This commit is contained in:
@@ -31,10 +31,10 @@ import os
|
||||
# NOTE: Stripe price IDs must be set via env vars in production.
|
||||
# Create products/prices in Stripe Dashboard: https://dashboard.stripe.com/products
|
||||
#
|
||||
# LLM models used (via OpenRouter — March 2026):
|
||||
# Essentielle : deepseek/deepseek-v3.2 ($0.25 / $0.38 per 1M tokens)
|
||||
# Premium : anthropic/claude-3.5-haiku ($0.25 / $1.25 per 1M tokens)
|
||||
# or google/gemini-3-flash ($0.15 / $0.60)
|
||||
# LLM models used (via OpenRouter — June 2026):
|
||||
# Essentielle : deepseek/deepseek-chat (DeepSeek V4/V3)
|
||||
# Premium : anthropic/claude-sonnet-4.6 (Claude Sonnet 4.6)
|
||||
# or google/gemini-3.5-flash (Gemini 3.5 Flash)
|
||||
PLANS = {
|
||||
PlanType.FREE: {
|
||||
"name": "Free",
|
||||
@@ -97,7 +97,7 @@ PLANS = {
|
||||
"max_file_size_mb": 25,
|
||||
"max_chars_per_month": 2_000_000,
|
||||
"providers": ["google", "google_cloud", "deepl", "openrouter"],
|
||||
"ai_model_essential": "deepseek/deepseek-v3.2",
|
||||
"ai_model_essential": "deepseek/deepseek-chat",
|
||||
"features": [
|
||||
"pricing.plans.pro.feat1",
|
||||
"pricing.plans.pro.feat2",
|
||||
@@ -127,8 +127,8 @@ PLANS = {
|
||||
"max_file_size_mb": 50,
|
||||
"max_chars_per_month": 10_000_000,
|
||||
"providers": ["google", "google_cloud", "deepl", "openrouter", "openrouter_premium", "openai", "zai"],
|
||||
"ai_model_essential": "deepseek/deepseek-v3.2",
|
||||
"ai_model_premium": "anthropic/claude-3.5-haiku",
|
||||
"ai_model_essential": "deepseek/deepseek-chat",
|
||||
"ai_model_premium": "anthropic/claude-sonnet-4.6",
|
||||
"features": [
|
||||
"pricing.plans.business.feat1",
|
||||
"pricing.plans.business.feat2",
|
||||
|
||||
Reference in New Issue
Block a user