Commit d0a5855
Add Claude Opus 4.7 to model list (#1282)
* Add Claude Opus 4.7 to model list (anthropic, openrouter)
Adds Anthropic's new Opus 4.7 model with both Anthropic and OpenRouter
providers. Introduces CLAUDE_OPUS_4_7_ANTHROPIC_THINKING_LEVELS to
support the new "xhigh" and "max" effort levels exclusive to Opus 4.7.
* Apply zero-sum swap: demote Opus 4.6 from suggested/featured
Opus 4.7 now carries featured_rank=2, editorial_notes, suggested_for_evals,
and suggested_for_data_gen. Removing the same flags from Opus 4.6 keeps the
suggested/featured count stable across the Claude Opus family.
https://claude.ai/code/session_01Xnfzt91McoMdqaiRv1g6xg
* Add PDF support to OpenRouter provider for Opus 4.7
Adds KilnMimeType.PDF to multimodal_mime_types and sets
multimodal_requires_pdf_as_image=True (OpenRouter's PDF routing through
Mistral OCR breaks LiteLLM parsing, so PDFs must be sent as images).
https://claude.ai/code/session_01Xnfzt91McoMdqaiRv1g6xg
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 089dc6c commit d0a5855
1 file changed
+60
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
508 | 517 | | |
509 | 518 | | |
510 | 519 | | |
| |||
1907 | 1916 | | |
1908 | 1917 | | |
1909 | 1918 | | |
1910 | | - | |
| 1919 | + | |
1911 | 1920 | | |
1912 | 1921 | | |
1913 | | - | |
1914 | | - | |
| 1922 | + | |
| 1923 | + | |
1915 | 1924 | | |
1916 | 1925 | | |
1917 | 1926 | | |
1918 | 1927 | | |
1919 | 1928 | | |
1920 | | - | |
| 1929 | + | |
1921 | 1930 | | |
1922 | 1931 | | |
1923 | 1932 | | |
| |||
1927 | 1936 | | |
1928 | 1937 | | |
1929 | 1938 | | |
| 1939 | + | |
1930 | 1940 | | |
| 1941 | + | |
1931 | 1942 | | |
1932 | 1943 | | |
1933 | 1944 | | |
| |||
1936 | 1947 | | |
1937 | 1948 | | |
1938 | 1949 | | |
1939 | | - | |
| 1950 | + | |
1940 | 1951 | | |
1941 | 1952 | | |
1942 | | - | |
| 1953 | + | |
1943 | 1954 | | |
1944 | 1955 | | |
1945 | 1956 | | |
| |||
1956 | 1967 | | |
1957 | 1968 | | |
1958 | 1969 | | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
1959 | 2013 | | |
1960 | 2014 | | |
1961 | 2015 | | |
| |||
0 commit comments